package rr.sb.getContent;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import rr.sb.getContent.parsers.BancuriEpistoleRoParser;

public class MainClass {
    public static void main(String[] args) throws IOException {
//	String mainDir = "D:\\Work\\sb\\down\\";
	String mainDir = "D:\\Ro\\work\\sb-app\\down\\";

	List<Config> configs = new ArrayList<Config>();

//	configs.add(new Config(mainDir + "bancuri.cere.ro", mainDir + "bancuri.cere.ro\\destination", new BancuriCereRoParser()));

	configs.add(new Config(mainDir + "bancuri.epistole.ro", mainDir + "bancuri.epistole.ro\\destination", new BancuriEpistoleRoParser()));

//	configs.add(new Config(mainDir + "bancuri.topfun.ro", mainDir + "bancuri.topfun.ro\\destination", new BancuriTopfunRoParser()));

//	configs.add(new Config(mainDir + "bancuri123.ro", mainDir + "bancuri123.ro\\destination", new Bancuri123RoParser()));

//	configs.add(new Config(mainDir + "mioritice.com", mainDir + "mioritice.com\\destination", new MioriticeComParser()));

	for (Config config : configs) {
	    config.start();
	}
    }
}
